FROM adoptopenjdk/openjdk8:latest

ENV SERVER_PORT=8081

WORKDIR /web/data/healthy

EXPOSE ${SERVER_PORT}

ADD ./target/heealthy_system-data-0.0.1-SNAPSHOT.jar /App.jar

ENTRYPOINT [ "java", "-DServer.port=${SERVER_PORT}", "-jar", "/App.jar" ]
